/*package com.Util;

import java.util.HashMap;
import java.util.Map;

public class ResponseUtil {

    public static Map<String,Object> resError(String errorCode,String errorMsg){
        RespHeader result = new RespHeader();
        result.setResultCode(errorCode);
        result.setResultCode(errorMsg);
        Map<String,Object> map = new HashMap<String,Object>(1);
        map.put("respHeader",result);
        return map;
    }

    public static Object getResponse (Object object){
        RespHeader respHeader = new RespHeader();
        respHeader.setResultCode(MsgContants.SUCCESS_CODE);
        respHeader.setResultCode(MsgContants.SUCCESS_MSG);
        Map<String,Object> map = new HashMap<String,Object>(2);
        map.put("respHeader",respHeader);
        map.put("respBody",object);
        return map;
    }

    public static Object getResp (Object object){
        Map<String,Map<String,String>> result = (Map<String,Map<String,String>>)object;
        RespHeader respHeader = new RespHeader();
        respHeader.setResultCode(result.get("respHeader").get("resultCode"));
        respHeader.setResultCode(result.get("respHeader").get("resultMsg"));
        Map<String,Object> map = new HashMap<String,Object>(2);
        map.put("respHeader",respHeader);
        map.put("respBody",result.get("respBody"));
        return map;
    }
}*/
